package com.wx.service;

import com.wx.entity.CollectDetailModel;
import com.wx.entity.UserCollectModel;
import com.wx.pojo.WxUserProductDetail;
import com.wx.service.impl.UserProductDetailServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.apache.logging.log4j.message.StringFormattedMessage;

import java.util.List;

public interface IUserProductDetailService {

    public List<WxUserProductDetail> listUserProductDetail();

    public List<WxUserProductDetail> listModelByNumber(String collect_number);

    public List<WxUserProductDetail> listModelByNumberAndUserId(String collect_number,
                                                                String user_id);

    List<WxUserProductDetail> listDistinctModel(String collect_number,
                                                Integer user_id,
                                                Integer product_id);

    public List<CollectDetailModel> listModelDetail(Integer user_id,
                                                    Integer status,
                                                    Integer verify);

    public CollectDetailModel getModelDetail(String collect_number,
                                             Integer user_id);

    public List<String> listDistinctModelByUser(Integer user_id);

    Boolean participateModel(Integer user_id,
                             String number);

    public Integer updateModelAmount(WxUserProductDetail model);

    public List<UserCollectModel> listModelJoinUser(String collect_number);



}
